import getlink from "@/api/getapi.js"
let ComHotCirListM = {
    state:{
        hotcircleslist:""
    },
    mutations:{
        UPHOTCIRDATA(state,payload){
            state.hotcircleslist=payload
        }
    },
    actions:{
        LINK_HOTCIR_DATA(conhotcircleslist,payload){
            // console.log(context)
            getlink(payload).then((ok)=>{
                console.log(ok.data.hotcircleslist,"hotcircleslist")
                conhotcircleslist.commit("UPHOTCIRDATA",ok.data.hotcircleslist)
            }).catch((err)=>{
                console.log(err)
            })
        }
    }
}

export default ComHotCirListM;

 
